﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="testt.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript">
    
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <marquee id="marquee"  direction=up ><%=strNews%>></marquee>

    </div>
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="id" 
        DataSourceID="SqlDataSource1" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" PageSize="2">
        <Columns>
            <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" 
                SortExpression="id" />
            <asp:BoundField DataField="opeartor_id" HeaderText="opeartor_id" 
                SortExpression="opeartor_id" />
            <asp:BoundField DataField="appllytime" HeaderText="appllytime" 
                SortExpression="appllytime" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:medicalnews %>" 
        SelectCommand="SELECT [id], [opeartor_id], [appllytime] FROM [applylist]">
    </asp:SqlDataSource>
    </form>
</body>
</html>
